package com.openingedu.mba.persist;

import java.util.Date;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "oc_practice_history")
public class DbHistory {

	@DatabaseField(generatedId = true)
	private Integer id;
	
	/** 练习类型 **/
	@DatabaseField()
	private Integer type;
	
	/** 练习的时间 **/
	@DatabaseField()
	private Date practiceDate;
	
	/** 练习花费时间 **/
	@DatabaseField()
	private String timeUsed;
	
	/** 平均花费时间 **/
	@DatabaseField()
	private String averageTimeUsed;
	
	/** 试题总数 **/
	@DatabaseField()
	private Integer totalNum;
	
	/** 正确试题数 **/
	@DatabaseField()
	private Integer correctNum;
	
	/** 错误试题数 **/
	@DatabaseField()
	private Integer faultNum;
	
	/** 每题分数 **/
	@DatabaseField()
	private Integer perScore;
	
	/** 总分数 **/
	@DatabaseField()
	private Integer totalScore;
	
	/** 获得评价 **/
	@DatabaseField()
	private Integer valuation;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Date getPracticeDate() {
		return practiceDate;
	}

	public void setPracticeDate(Date practiceDate) {
		this.practiceDate = practiceDate;
	}

	public String getTimeUsed() {
		return timeUsed;
	}

	public void setTimeUsed(String timeUsed) {
		this.timeUsed = timeUsed;
	}

	public String getAverageTimeUsed() {
		return averageTimeUsed;
	}

	public void setAverageTimeUsed(String averageTimeUsed) {
		this.averageTimeUsed = averageTimeUsed;
	}

	public Integer getTotalNum() {
		return totalNum;
	}

	public void setTotalNum(Integer totalNum) {
		this.totalNum = totalNum;
	}

	public Integer getCorrectNum() {
		return correctNum;
	}

	public void setCorrectNum(Integer correctNum) {
		this.correctNum = correctNum;
	}

	public Integer getFaultNum() {
		return faultNum;
	}

	public void setFaultNum(Integer faultNum) {
		this.faultNum = faultNum;
	}

	public Integer getPerScore() {
		return perScore;
	}

	public void setPerScore(Integer perScore) {
		this.perScore = perScore;
	}

	public Integer getTotalScore() {
		return totalScore;
	}

	public void setTotalScore(Integer totalScore) {
		this.totalScore = totalScore;
	}

	public Integer getValuation() {
		return valuation;
	}

	public void setValuation(Integer valuation) {
		this.valuation = valuation;
	}
	
}
